package tgc.edu.szxt.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.szxt.demo.custom.BaseService;
import tgc.edu.szxt.demo.entity.Student;
import tgc.edu.szxt.demo.repository.StudentRepository;
@Service
public class StudentService extends BaseService<Student, Integer> {

	@Autowired
	StudentRepository studentDAO;
	
	public List<Student> findByTbClassId(Integer bjId) {
		return studentDAO.findByTbClassId(bjId);
	}

}
